package com.only4play.system.req;

import com.only4play.common.model.Request;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

/**
 * @author hinzzz www.hinzzz.cn 157957329@qq.com
 * 2024-02-28
 */
@Data
public class TemplateItemCreateItem implements Request {
    @Schema(title = "名称")
    private String name;

    @Schema(title = "编码")
    private String code;

    @Schema(title = "默认值")
    private String defaultValue;

    @Schema(title = "占位符")
    private String placeholder;

    @Schema(title = "值类型")
    private Integer valueType;

    @Schema(title = "排序")
    private Integer sortNum;

    @Schema(title = "数据的请求url")
    private String dataUrl;

    @Schema(title = "组件类型")
    private Integer componentType;

    @Schema(title = "元数据")
    private String metaData;

    @Schema(title = "描述")
    private String description;

    @Schema(title = "是否必填")
    private Integer requireFlag;
}
